package com.itheima.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ApiResponse {
    @JsonProperty("__sys__")
    private SysInfoVo sysInfo;

    @JsonProperty("__version__")
    private String version;

    private List<OrderVo> orders;

    @JsonProperty("__blocks__")
    private Map<String, Object> blocks = new HashMap<>(); // 初始化为空对象

    private String wagonNum;
}
